﻿using Microsoft.AspNetCore.Identity;
using Models;
using ModelToDto.Managemen;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService.Managemen
{
    public interface IRoleService : IBaseService
    {
        /// <summary>
        /// 角色菜单
        /// </summary>
        ///param name="roleId"></param>
        /// <returns></returns>
        public Task<RoleMenuDTO> GetRoleMenue(int roleId);

        public Task<int> RolesMenueAdd(int userId, List<string> roleList);
        public Task<bool> FindUserRole(int userId, string path);
    }
}
